
	<div id="poupInfoBox" class="loading" style="width:100%;display: block;"> 
		<div style="text-align:center;padding-top:100px;">
			<!-- <img id="loading_egg" src="https://img.alicdn.com/imgextra/i2/27390555/TB25lXHaH4npuFjSZFmXXXl4FXa-27390555.gif" /> -->
        </div>
		<center style="font-size:.6rem">正在为您准备抽奖活动，请稍候。。。</center>
		<center id="err_msg" style="font-size:.6rem;width:12rem;margin:0 auto"></center>
	</div>
	<div id="poupInfoBox" class="collect" > 
		<div style="text-align:center;padding-top:100px;">
			<img src="https://img.alicdn.com/imgextra/i4/27390555/TB2Ax.jX4eJ.eBjy1zdXXXfmFXa-27390555.png_310x310.jpg" />
        </div>
		<center style="font-size:.6rem">请收藏店铺</center>
		<center class="coll_msg" style="font-size:.6rem"></center>
	</div>
	<div id="poupInfoBox" class="poupFadIn" style="display: none;"> 
	<div class="poupHead">
        <div class="poupTitleBox">
            <div id="actionExpBtn" class="poupTitleMune checked" >
                <div class="item">活动说明</div>
            </div>
             
            <div id="ranBtn" class="poupTitleMune">
                <div class="item">没次数了</div>
            </div>
            
            <div id="prizeBtn" class="poupTitleMune">
                <div class="item">我的奖品<span id="Award_Round_Dot" class="redDot hide" ></span></div>
            </div>   
            <div class="poupSlideBar">
                <div class="slideBarTip transitionPanel" style="width: 4.41667rem;"></div>
            </div>
        </div>
        <div class="poupClose"></div>
        <div style="clear:both; height:0"></div>
		<!--<div class="poupTitle">活动及奖品说明</div>-->
	</div>
    <div id="popTabBox" class="popTabBox transitionPanel">
    	<div id="ruleBox" class="poupMain" style="height:25rem;overflow-y: auto;text-align:left" _flag="2">
    		<div id="getHeight">
    			<div id="awardLine" class="poupLine layerId-4 defBgColor" style="{if $cfg.front_mob_cfg.jinnang.gift==2}display:none{/if}">
                    <div class="mainTitle" >活动奖品</div>
                    <div id="awardLineBox">
						 {foreach from=$gifts item=gift key=gkey}
							{if $gift.status!=1} <!-- 排除隐含奖品 -->
							<div class="unComfortLine awardItem "><span class="awardStyle">{$gift.level_name} </span> : <span class="award">{$gift.name}</span> {if $gift.price}价值<span class="award">{$gift.price}</span>元{/if}</div>
							{/if}
						{/foreach}
    				</div>	
                <div id="selfAwardLine" class="hide layerId-5 defBgColor" style="word-wrap: break-word; display: none;"></div>
    		</div>		
    			<!-- <div id="gameDateTime" class="poupLine layerId-6 defBgColor">
                    <div class="mainTitle">活动时间</div>
    				<p><span id="startDate">2016年7月11日 18:03</span>&nbsp;-&nbsp;<span id="endDate">2016年7月18日 18:03</span></p>
    			</div>	 -->
                <div class="hostLine poupLine layerId-9 defBgColor" style="{if $cfg.front_mob_cfg.jinnang.shop==2}display:none{/if}">
                    <div class="mainTitle">主办单位</div>
                    <p>本次活动主办单位为 <a class="hostName" href="#" style="text-decoration: none;">{$event.shop_name}</a></p>
                    <p>主办单位在法律允许的范围内拥有活动解释权</p>
                </div>
                
                    <div id="skillLine" class="skillLine poupLine layerId-10 defBgColor" style="min-height: 1rem;{if $cfg.front_mob_cfg.jinnang.tech==2}display:none{/if}">
                        <div class="skillCont">
                            <div class="mainTitle">技术支持</div>
                            <p>页面技术由 <a class="skillName" onclick="return false" href="https://fuwu.taobao.com/ser/detail.html?service_code=ts-30901">订单抽大奖</a> 提供，技术支持方仅提供页面技术，不承担由活动引起的相关法律责任</p>
                        </div>
                    </div>
                
    		</div>	
    		<div id="explainBox" class="poupLine layerId-7 defBgColor"  style="{if $cfg.front_mob_cfg.jinnang.join==2}display:none{/if}">
                <div class="mainTitle">活动参与</div>
                    <p id="explaiDrawInfoBox">
                    {if $event.brandid}<p>必须关注品牌才可以参与<a href="#">点击关注</a></p>{/if}
                    {if $event.collect}<p>必须收藏店铺才可以参与<a href="#">点击收藏</a></p>{/if}
					<br />
                    {if $event.tms_newcomer>0}<p>进入可抽奖{$event.tms_newcomer}次</p>{/if}
                    {if $event.tms_everyday>0}<p>每天可领取{$event.tms_everyday}次机会</p>{/if}
                    {if $event.tms_cartadd>0}<p>商品加购物车可获得{$event.tms_cartadd}次机会，最多获得{$event.tms_cartadd_limit}次</p>{/if}
                    {if $event.orderset>0}
					  <br />
					  <p>订单号抽奖：</p>
					  <p>　{if $event.andor==1}满足其中一条{else}同时满足以下条件{/if}：</p>
						  <p>　　付款时间在{if $event.order_pay_time_start}{$event.order_pay_time_start}{else}3个月之内{/if}至{if $event.order_pay_time_end}{$event.order_pay_time_end}{else}不限{/if}之间</p>
						  {if $event.order_payment}<p>　　付款金额{$event.order_payment}元以上</p>{/if}
						  {if $event.cart_items}<p>　　订单内包含{$event.cart_items_count}件指定商品<a href="#">查看</a></p>{/if}
					  <p>　可兑换抽奖次数：</p>
					      {if $event.order_pay_times>0}<p>　　付款后可兑换{$event.order_pay_times}次</p>{/if}
					      {if $event.order_success_times>0}<p>　　确认收货后可兑换{$event.order_success_times}次</p>{/if}
					      {if $event.tms_goodrate>0}<p>　　好评后可兑换{$event.tms_goodrate}次</p>{/if}
					{/if}
					<br />
					<p>获取抽奖次数请点击锦囊里的<a href="#">没次数了</a>标签。</p>
                    </p>	
    		</div>
    		<div id="explainBox" class="poupLine layerId-7 defBgColor" style="{if $cfg.front_mob_cfg.jinnang.exchange==2}display:none{/if}">
                <div class="mainTitle">兑奖说明</div>
    			<div id="exlainInfo">兑奖方式分为以下几种：
				{foreach $getway item=way}
					<p>{$way.name}：{$way.tip}</p>
				{/foreach}
				</div>
			</div>
    	</div>
    	<div id="rankBox" class="poupMain layerId-11 defBgColor"  style="display:none">		
    		<div id="rankHeight">
    			<table id="rankInfoBox" class="rankTable" cellspacing="0" cellpadding="0" style="margin-top: 0;">
				<tbody>
					<tr class="rankInfo">
					<td>每天领取</td>
					<td><input type="button" class="mission" data-mis="everyday" value="领取" ></td></tr>
					<tr class="rankInfo">
					<!-- <td><div class="userImg manImg"></div></td> -->
					<td>签到领取</td>
					<td><input type="button" class="mission"  data-mis="sign" value="签到" ></td></tr>
					<tr class="rankInfo">
					<td>订单号兑换</td>
					<td><input type="button" class="mission"  data-mis="order" value="兑换" ></td></tr>
					<tr class="rankInfo">
					<td>积分兑换</td>
					<td><input type="button" class="mission" data-mis="jifen" value="兑换" ></td></tr>
					<!--tr class="rankInfo">
					<td>加购物车</td>
					<td><input type="button" class="mission"  data-mis="cartadd" value="加购" ></td></tr-->
				</tbody>
				</table>
    		</div>				
    	</div>
		<div class="poupHead awardBox " style="border-bottom:none;padding: 0 3rem;">
			<div class="poupTitleBox">
				<div id="giftBtn" class="poupTitleMune" style="background: rgba(0,0,0,.5);">
					<div class="item">奖品</div>
				</div>
				<div id="medalBtn" class="poupTitleMune">
					<div class="item">勋章</div>
				</div>   
			</div>
		</div>
    	<div id="awardBox" class="poupMain giftBox"  style="display:none">
            <div id="giftAward" style="height:25rem;overflow-y: auto;">
			</div>
		</div>
    	<div id="awardBox" class="poupMain medalBox"  style="display:none">
            <div id="awardInfo" style="height:25rem;overflow-y: auto;">
				{foreach from=$mygifts item=mygift key=mykey }
				<div class="codeInfoBox">
					<div class="djqImgBox"></div>
					<div class="isEmptyAward ellipsis">一等奖：{$mygift.gift_name}{$mygift.actiontime}</div>
					<!--div class="codeperiod" style="margin: 0.25rem 0.6rem;"><span>兑奖期限</span>：2016.07.20 至 2016.07.27</div-->
					<div class="goDetailIcon"></div>
					<div class="awardWrap"></div>
					<div class="buttons"><input type="button" {if $mygift.is_picup && (!$mygift.km &&  $mygift.gtype_code!='item')}disabled="disabled" {else}{if ($mygift.is_picup && $mygift.km) ||  ($mygift.is_picup && $mygift.gtype_code=='item')}class="show"{/if}{/if} {if $mygift.km}data-cardno="{$mygift.km.cardno}" data-secret="{$mygift.km.secret}"{/if} value="{if $mygift.km}查看卡密{else}{if $mygift.is_picup && $mygift.gtype_code=='item'}查看物流{else}{if $mygift.is_picup}已经{/if}领取{$mygift.gtype_name}{/if}{/if}" data-gtype="{$mygift.gtype_code}" data-getway="{if $mygift.is_picup && $mygift.gtype_code=='item'}checkwl{else}{if $mygift.km}look{else}{$mygift.getway}{/if}{/if}" data-mygid="{$mykey}" data-gid="{$mygift.giftid}" data-url="/webegg/getwxred"/></div>
				</div>
				{/foreach}
			</div>    
            <!-- <div class="attentionBox">
                <div class="menuBtnBox layerId-14 defBgColor">
                    <a class="menuName" href="###">关注我们</a>
                </div>
                
                <div class="skillInfo"><a href="http://mp.weixin.qq.com/s?__biz=MjM5MTk5MjI3OA==&amp;mid=209854000&amp;idx=1&amp;sn=82241d924839270d3ea820ad2d56c01b#rd">我也要创建抽奖活动</a><span class="gotoFlag"></span></div>
                <div class="holdBox"></div>
            </div> -->
        </div>
    	<div id="regAwardBox" class="poupMain" _flag="4" style="height: 408px; display: none;">
    		<div id="noRegAward" class="hide" style="margin-left:3px;">尚未公布获奖名单，详情请查看活动说明</div>

    		<div id="regAwardMain">         
    					
    					<div class="regAwardList">
    						<div class="mainTitle">一等奖</div>
    						<div class="playerName" style="margin-bottom:12px;"></div>
    					</div>	
    					
    					<div class="regAwardList">
    						<div class="mainTitle">二等奖</div>
    						<div class="playerName" style="margin-bottom:12px;"></div>
    					</div>	
    					
    					<div class="regAwardList">
    						<div class="mainTitle">三等奖</div>
    						<div class="playerName" style="margin-bottom:12px;"></div>
    					</div>	
    			
    		</div>	
    	</div>	
    </div>
</div>
</div>

<div class="ui-dialog" id="J_Dialog">
    <div class="ui-dialog-wrap" style="color:{$cfg.front_mob_cfg.dialog.dialog_text_color|default:'#a6a9ac'};border: 1px solid {$cfg.front_mob_cfg.dialog.dialog_border|default:'#393939'};background: -webkit-linear-gradient(top, {$cfg.front_mob_cfg.dialog.dialog_bg0|default:'#393939'}, {$cfg.front_mob_cfg.dialog.dialog_bg1|default:'#212121'}); ">
        <header>
            <h2>
                <div class="h-wrap" style="background: url({$cfg.front_mob_cfg.dialog.dialog_bg|default:'https://img.alicdn.com/imgextra/i4/27390555/TB2SR8SsXXXXXcMXpXXXXXXXXXX-27390555.png'});">

                </div>
                <hr style="margin:0;border-color:{$cfg.front_mob_cfg.dialog.dialog_hr0|default:'#000'} transparent {$cfg.front_mob_cfg.dialog.dialog_hr1|default:'#414141'};" />
            </h2>
        </header>
        <section>
        </section>
        <footer>
        </footer>
    </div>
</div>